package com.info.zhiduoduo.repository.entity.crm;

import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;
import com.baomidou.mybatisplus.enums.IdType;
import lombok.Data;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.util.Date;

/**
 * 意向合伙人表
 * @author cuichenglong
 * @since 2020-04-01
 */
@Data
@Accessors(chain = true)
@TableName("zdd_crm_intention_partner")
public class IntentionPartner extends Model<IntentionPartner> {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private int id;

    @TableField("partner_name")
    private String partnerName;

    @TableField("partner_industry")
    private String partnerIndustry;

    @TableField("business_region")
    private String businessRegion;

    @TableField("industry_time")
    private String industryTime;

    @TableField("resource_type")
    private String resourceType;

    private int scale;

    @TableField("develop_ability")
    private int developAbility;

    private int potential;

    @TableField("cooperate_desire")
    private int cooperateDesire;

    @TableField("partner_sex")
    private int partnerSex;

    @TableField("partner_source")
    private int partnerSource;

    @TableField("partner_idno")
    private String partnerIdno;

    private String remarks;

    @TableField("partner_region")
    private String partnerRegion;

    @TableField("partner_type")
    private int partnerType;

    @TableField("partner_phone")
    private String partnerPhone;

    private int flag;

    @TableField("partner_leader")
    private int partnerLeader;

    private int operator;

    @TableField("zdd_partner_id")
    private int zddPartnerId;

    private Date updatetime;

    private Date createtime;

    @Override
    protected Serializable pkVal() {
        return this.id;
    }
}
